import App from './App'
import store from './store/store.js'
import vuex from 'vuex'
// #ifndef VUE3
// 配至
import uView from '@/uni_modules/uview-ui'
Vue.use(uView)

import Vue from 'vue'
Vue.config.productionTip = false
Vue.config.$store = store
Vue.filter('toPrice', (val) => {
	if (!val) return `￥ 0.00 元`
	return `￥ ${val.toFixed(2)} 元`;

})

App.mpType = 'app'
const app = new Vue({
	...App,
	store,
	vuex
})
app.$mount()
// #endif
